package com.george.common.entity.dto;

import lombok.Data;
import lombok.experimental.FieldNameConstants;

import java.util.Collections;
import java.util.List;

/**
 * @title: ApiResponse.java
 * @description: 统一返回响应实体
 * @author: George
 * @date: 2023/6/28 9:13
 */
@Data
@FieldNameConstants
public class ApiResponse<T> {
    private PageResp<?> basePageObj;
    private List<?> dataList = Collections.emptyList();
    //1成功，0失败
    private String resultCode;
    //信息
    private String resultMsg;
    private Object resultObj = new Object();
}
